Triangle Flags Masks
Theflags
parameter for theQADrawTriGouraud
andQADrawTriTexture
functions specifies a triangle mode, which determines how the drawing engine draws a triangle. You can use these masks to set theflags
parameter.
#define kQATriFlags_None 0 #define kQATriFlags_Backfacing (1 << 0)Constant descriptions
kQATriFlags_None
- Pass this value for no triangle flags. The triangle is frontfacing or has an unspecified orientation.
kQATriFlags_Backfacing
- The triangle is backfacing. You should set this bit for all triangles known to be backfacing (to help the drawing engine resolve ambiguous hidden surface removal situations).